// Copyright (c) 2024, lanlian and contributors
// For license information, please see license.txt

frappe.ui.form.on("EMS Inspection Doc", {
	refresh(frm) {

	},
    inspection_date: function (frm) {
        console.log(123);
        if (frm.doc.inspection_date > frappe.datetime.get_today() ) { console.log(234);frappe.throw("实际点检日期不允许大于今天日期!") }
    },
    add_remarks: function (frm) {console.log("123")},
});
